package com.ruoyi.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.hospital.domain.Departments;

import java.util.List;

public interface DepartmentsService extends IService<Departments> {
    List<Departments> selectDepartmentsList(Departments departments);

    Departments selectDepartmentsByDeptId(Long deptId);

    boolean insertDepartments(Departments departments);

    boolean updateDepartments(Departments departments);

    boolean deleteDepartmentsByDeptIds(List<Long> deptIds);

    List<Departments> selectDeptByHospitalId(Departments query);
}
